package com.entity;

import java.util.Date;

/**
 * FactoryPhoto entity. @author MyEclipse Persistence Tools
 */

public class FactoryPhoto implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;
	private Admin admin;
	private String photoTitle;
	private String factoryPhoto;
	private Date insertTime;
	private Boolean idDeleted;
	
	public final static String INSERT_TIME = "insertTime";

	// Constructors

	/** default constructor */
	public FactoryPhoto() {
	}

	/** full constructor */
	public FactoryPhoto(Admin admin, String photoTitle, String factoryPhoto,
			Date insertTime, boolean idDeleted) {
		this.admin = admin;
		this.photoTitle = photoTitle;
		this.factoryPhoto = factoryPhoto;
		this.insertTime = insertTime;
		this.idDeleted = idDeleted;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Admin getAdmin() {
		return this.admin;
	}

	public void setAdmin(Admin admin) {
		this.admin = admin;
	}

	public String getPhotoTitle() {
		return this.photoTitle;
	}

	public void setPhotoTitle(String photoTitle) {
		this.photoTitle = photoTitle;
	}

	public String getFactoryPhoto() {
		return this.factoryPhoto;
	}

	public void setFactoryPhoto(String factoryPhoto) {
		this.factoryPhoto = factoryPhoto;
	}

	public Date getInsertTime() {
		return this.insertTime;
	}

	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}

	public Boolean getIdDeleted() {
		return this.idDeleted;
	}

	public void setIdDeleted(Boolean idDeleted) {
		this.idDeleted = idDeleted;
	}

}